package com.zc.designmodel.creative.singleton;

/**
 * @author: zhuCan
 * @date: 2020/4/11 15:26
 * @description: 饿汉单例
 */
public class HungrySingleton {

  private static HungrySingleton instance = new HungrySingleton();

  private HungrySingleton(){}

  public static HungrySingleton getInstance(){
    return instance;
  }
}
